#include <iostream>
#include <vector>

using std::vector;

int main()
{
	vector<int> vec1(10, 42);
	
	vector<int> vec2(vec1);
	
	vector<int> vec3;
	int i = 0;
	while(i++ < 10)
	{
		vec3.push_back(10);
	}

	vector<int> vec4(10);
	for(vector<int>::size_type ix = 0; ix != vec4.size(); ix++)
	{
		vec4[ix] = 42;
	}	
}
